package com.ocm.core.mapping;

import java.util.List;

import com.ocm.core.domain.ClassDefinition;
import com.ocm.core.domain.Security;
import com.ocm.core.domain.UserDetail;
import com.ocm.core.domain.PropertyDefinition;
import com.ocm.core.domain.Storage;
import com.ocm.core.dto.ClassDefinitionDto;
import com.ocm.core.dto.GroupDto;
import com.ocm.core.dto.PropertyDefinitionDto;
import com.ocm.core.dto.SecurityDto;
import com.ocm.core.dto.StorageDto;
import com.ocm.core.dto.UserInfoDto;

public interface DomainService {

   ClassDefinition convertClassDef(ClassDefinitionDto classDefinitionDto);

   PropertyDefinition convertProperty(PropertyDefinitionDto propertyDefinitionDto);

   Storage convertStorage(StorageDto storageDto);

   UserDetail convertGroup(GroupDto groupDto);

   UserDetail convertUserInfo(UserInfoDto userInfoDto);

   Security convertSecurity(List<SecurityDto> securities);
}
